package com.wrk._1_语法._04_循环._01_单循环;

public class _013_兔子生兔子 {
    public static void main(String[] args) {
        int b=0;
        for (int a =1;a<=12;a++){
            if (a%3==0){
                b=b+2;
            }
        }System.out.println("总共有"+b+"只小兔子");
    }
}
